package com.feiyuan.core.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

@Component("testTask")
public class TestTask implements ITask {

    private Logger logger = LoggerFactory.getLogger(TestTask.class);

    @Override
    public void run(String params) {
        logger.info("测试定时任务是否可以使用:{}", params);
    }
}
